package com.jdk.demo.map.hashmap;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class Demo {

	public static void main(String[] args) {
		Map<Integer, String> map = new HashMap<>(10, 0.75f);
		map.put(7, "v7");
        map.put(11, "v11");
        map.put(43, "v43");
        map.put(59, "v59");
        map.put(19, "v19");
        map.put(3, "v3");
        map.put(35, "v35");

        map.remove(35);

		Set keys = map.keySet();
		Iterator ite = keys.iterator();
		while (ite.hasNext()) {
		    System.out.println(ite.next());
		}
	}

}
